//
//  Comment.m
//  Weibo
//
//  Created by taoshanchang on 15/2/1.
//  Copyright (c) 2015年 taoshanchang. All rights reserved.
//

#import "CommentModel.h"

@implementation CommentModel


-(void)setAttributes:(NSDictionary *)dataDic{
    
    [super setAttributes:dataDic];
    
    NSDictionary *userDic = [dataDic objectForKey:@"user"];
    NSDictionary *statusDic = [dataDic objectForKey:@"status"];
    
    UserModel *user = [[UserModel alloc] initWithDataDic:userDic];
    WeiboModel *weibo = [[WeiboModel alloc] initWithDataDic:statusDic];

    self.user = user;
    self.weibo = weibo;

}



@end
